From: Florian Müllner Date: Thu, 15 Dec 2011 23:14:15 +0000 (+0100) Subject: run-js-test: Do not use the default stage X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7242 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fcee7f2f3a91144ae576cc4c9918dcfee96119ab;p=gnome-shell.git run-js-test: Do not use the default stage This was left out in commit faff0738eb. --- diff --git a/src/run-js-test.c b/src/run-js-test.c index 5ee6ac869..1fefe292f 100644 --- a/src/run-js-test.c +++ b/src/run-js-test.c @@ -63,7 +63,6 @@ int main(int argc, char **argv) { GOptionContext *context; - ClutterActor *stage; GError *error = NULL; ShellGlobal *global; GjsContext *js_context; @@ -124,9 +123,8 @@ main(int argc, char **argv) filename = argv[1]; } - stage = clutter_stage_get_default (); title = g_filename_display_basename (filename); - clutter_stage_set_title (CLUTTER_STAGE (stage), title); + g_set_prgname (title); g_free (title); #if HAVE_BLUETOOTH